package com.dongdongshop.api;

import com.dongdongshop.data.Result;
import com.dongdongshop.dto.ItemCatDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("dongdongshop-admin-service")
public interface AdminServiceApi {
    @PostMapping("/cat/selectById")
    Result<ItemCatDTO> selectById(@RequestParam Long id);
}
